package com.bkgy.controller.allprocessRcl1630.controller;

import com.bkgy.commom.model.QueryDTO;
import com.bkgy.controller.allprocessRcl1630.dto.AllProcessTbYieldRcl1630Requst;
import com.bkgy.controller.allprocessRcl1630.service.AllProcessRcl1630ExportService;
import com.bkgy.controller.allprocessRcl1630.service.AllProcessRcl1630Service;
import com.bkgy.sys.common.entity.ResultData;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.validation.Valid;

@Tag(name = "重卷1630明细表")
@RestController
@RequestMapping("/allprocess")

public class TbYieldRcl1630ExportController {

    @Autowired
    private AllProcessRcl1630ExportService rcl1630ExportService;

    @Operation(summary = "RCL1630明细表导出", description = "RCL1630明细表导出")
    @PostMapping("/rcl1630detaisexport")
    public void rcl1630detaisexport(@RequestBody @Valid AllProcessTbYieldRcl1630Requst queryDTO)
    {
        rcl1630ExportService.export1630(queryDTO);
    }
}